package com.chenyongjing.design.pattern.factory.simple;

public class Consumer {
    public static void main(String[] args) {
        Car mini = CarFactory.getCar("mini");
        mini.getName();
        System.out.println(mini.getName());
    }
}
